import request from '@/utils/request'

export const getWaysList = () => {
    return request({
        url: '/admin/config/way/list',
        method: 'get'
    })
}

export const save = (data) => {
    return request({
        url: '/admin/config/way/add',
        method: 'post',
        params: data
    })
}

export const del = (data) => {
    return request({
        url: '/admin/config/way/del',
        method: 'post',
        params: data
    })
}